<?php
$a='f';
$b='5';

if ($a > $b) {
  echo "a is greater than b\r\n";
} else {
  echo "a is NOT greater than b\r\n";
}
echo "<br>";  


$i = 1;
while ($i <= 10) {
    echo $i++;
    
}
echo "<br>";  
echo "\r\n";
$i = 0;
do {
   echo $i;
} while ($i > 0);
 echo "\r\n";
echo "<br>";  

for ($i = 1; $i <= 10; $i++) {
    echo $i;
}
echo "\r\n";
echo "<br>";  

$a = array(1, 2, 3, 17);

foreach ($a as $v) {
   echo "Current value of \$a: $v.\n";
}




?>